#!/bin/sh
while true; do
  ps v -C $1 | grep $1
  sleep 1
done

